<template>
  <section class="customization-section" ref="customizationSection">
    <div class="container">
      <div class="customization-header animate-on-scroll" data-aos="fade-up">
        <h2 class="title">为不同角色量身定制</h2>
        <p class="desc">无论您是哪类企业，我们都有契合您需求的解决方案</p>
      </div>
      <div class="customization-flex animate-on-scroll" data-aos="fade-up">
        <div class="n-btn btn-light">
          <i class="icon icon-customs"></i>
          <span>我是报关行</span>
        </div>
        <div class="n-btn btn-light">
          <i class="icon icon-logistics"></i>
          <span>我是物流/保税仓</span>
        </div>
        <div class="n-btn btn-light">
          <i class="icon icon-trader"></i>
          <span>我是货主/工厂</span>
        </div>
      </div>
    </div>
  </section>
</template>
<script setup lang="ts">
const customizationSection = ref<HTMLElement>()
</script>

<style lang="scss" scoped>
.customization-section {
  min-height: 340px;
  background: #f0f3fa;
  padding: 60px 0;
}

.container {
  max-width: 80rem;
}

.customization-header {
  text-align: center;
  .title {
    font-weight: bold;
    font-size: 1.875rem;
    color: #26262e;
    margin-bottom: 1.875rem;
  }
  .desc {
    font-weight: 400;
    font-size: 0.9735rem;
    color: #555555;
    margin-bottom: 50px;
  }
}

.customization-flex {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;

  .icon {
    &.icon-customs {
      background-image: url(@/assets/image/index/wsbgh-blue.png);
    }
    &.icon-logistics {
      background-image: url(@/assets/image/index/wswl-blue.png);
    }
    &.icon-trader {
      background-image: url(@/assets/image/index/wshz-blue.png);
    }
  }

  .n-btn:hover {
    .icon {
      &.icon-customs {
        background-image: url(@/assets/image/index/wsbgh-white.png);
      }
      &.icon-logistics {
        background-image: url(@/assets/image/index/wswl-white.png);
      }
      &.icon-trader {
        background-image: url(@/assets/image/index/wshz-white.png);
      }
    }
  }
}
</style>
